package com.wgly.question.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wgly.question.bean.Options;
import com.wgly.question.dao.OptionsMapper;
@Service
public class OptionsService {
	private static OptionsMapper optionsMapper;
    @Autowired
	public  void setOptionsMapper(OptionsMapper optionsMapper) {
		OptionsService.optionsMapper = optionsMapper;
	}
	public static void writesOptions(Options options) {
		// TODO Auto-generated method stub
		optionsMapper.insertSelective(options);
	}

}
